const Service = require('egg').Service;

class TestService extends Service {
    async findList(obj) {
        const ctx = this.ctx;
        const list = await ctx.model.Test.findAndCountAll(obj);
        return list;
    }
}

module.exports = TestService;